package com.itzhigui.user.service.impl;

import com.itzhigui.common.entity.User;
import com.itzhigui.user.mapper.UserMapper;
import com.itzhigui.user.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author java1412
 * @since 2023-10-29 17:52:19
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;

    @Override
    public User findById(int id) {
        return userMapper.findById(id);
    }
}
